﻿//using DataAnnotationsExtensions;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace DICOM_PROJECT.Models
{
    public class LoginModel
    {
        [Required(ErrorMessage = "Type your ID")]
        //[RegularExpression(@"^\d*$", ErrorMessage = "Numbers and special characters are not allowed in the last name.")]
        //[Range(0, Int32.MaxValue, ErrorMessage = "Invalid Number")]
        public int ID { get; set;}
        [Required(ErrorMessage = "Type your Password")]
        public string Password { get; set; }
    }
}